home *** CD-ROM | disk | FTP | other *** search
/ QuickTime 2.0 Developer Kit / QuickTime 2.0 Developer Kit.iso / mac / MAC / Programming Stuff / Documentation / develop / develop Issue 20 / develop 20 code / QTTextSample / QuicktimeUtils.h < prev    next >
Encoding:
Text File  |  1994-10-14  |  1.1 KB  |  34 lines  |  [TEXT/MPCC]

  1. // Text Media Sample Code - QuickTime routines
  2. //
  3. // This file contains general purpose QuickTime and Utility routines
  4. //
  5. // sample to show how to do searches with text media, and how to use
  6. // a simple text proc to get the text (without the style info) out and
  7. // to display it in a window.
  8. //
  9. // This is something of a work in progress, it contains a few bugs, if you find
  10. // anthing that you feel needs fixing, or explaing, please let me know
  11. // AppleLink: NICKT
  12. //
  13. // Modification History
  14. //
  15. //    10/13/94    nick    First cut - factored code out from other files 
  16. //
  17. //    Copyright:    © 1992-4 by Apple Computer, Inc.
  18.  
  19. //---------------------------------------------------------------------
  20. #ifndef _QUICKTIMEUTILS_H_
  21.  
  22. #define _QUICKTIMEUTILS_H_
  23. #include "mtb.h"
  24.  
  25. void        CheckError( OSErr error, Str255 displayString ) ;
  26. Boolean     IsDAWindow(WindowPtr window) ;
  27.  
  28. Boolean     IsQuickTimeInstalled ( void ) ;
  29. Boolean        IsPointInMovieController( MovieController    aController, WindowPtr whichWindow, Point where) ;
  30. Boolean        GetAMovieFileSpec( FSSpec *theFile ) ;
  31. OSErr         DoPrerollMovie( Movie    aMovie ) ;
  32. Track        GetFirstTrackOfType( Movie    aMovie, OSType    trackType ) ;
  33.  
  34. #endif